/** 地图格子类型枚举 */
export enum TILE_TYPE_ENUM {
    /** 横向墙体 */
    WALL_ROW = 'WALL_ROW',
    /** 纵向墙体 */
    WALL_COLUMN = "WALL_COLUMN",
    /** 左上角墙体 */
    WALL_LEFT_TOP = "WALL_LEFT_TOP",
    /** 左下角墙体 */
    WALL_LEFT_BOTTOM = "WALL_LEFT_BOTTOM",
    /** 右上角墙体 */
    WALL_RIGHT_TOP = "WALL_RIGHT_TOP",
    /** 右下角墙体 */
    WALL_RIGHT_BOTTOM = "WALL_RIGHT_BOTTOM",
    /** 悬崖中心 */
    CLIFF_CENTER = "CLIFF_CENTER",
    /** 悬崖左侧 */
    CLIFF_LEFT = "CLIFF_LEFT",
    /** 悬崖右侧 */
    CLIFF_RIGHT = "CLIFF_RIGHT",
    /** 地板 */
    FLOOR = "FLOOR",
}

/** 事件枚举 */
export enum EVENT_ENUM {
    /** 下一关 */
    NEXT_LEVEL = "NEXT_LEVEL",
    /** 玩家控制 */
    PLAY_CTRL = "PLAY_CTRL",
    /** 移动结束 */
    PLAYER_MOVE_END = "PLAYER_MOVE_END",
    /** Player渲染 */
    PLAYER_BORN = "PLAYER_BORN",
    /** 怪物攻击Player */
    ATTACK_PLAYER = "ATTACK_PLAYER",

    ATTACK_ENEMY = "ATTACK_ENEMY",

    DOOR_OPEN = "DOOR_OPEN"
}

/** 人物移动方向枚举 */
export enum CONTROLLER_ENUM {
    /** 上 */
    TOP = "TOP",
    /** 下 */
    BOTTOM = "BOTTOM",
    /** 左 */
    LEFT = "LEFT",
    /** 右 */
    RIGHT = "RIGHT",
    /** 向左转 */
    TURNLEFT = "TURNLEFT",
    /** 向右转 */
    TURNRIGHT = "TURNRIGHT"
}

/** 状态机参数类型枚举 */
export enum FSM_PARAMS_TYPE_ENUM {
    /** 数值类型 */
    NUMBER = "NUMBER",
    /** 触发类型 */
    TRIGGER = "TRIGGER"
}

/** 状态机参数名枚举 */
export enum PARAMS_NAME_ENUM {
    /** 空闲 */
    IDLE = "IDLE",
    /** 向左转 */
    TURNLEFT = "TURNLEFT",
    /** 向右转 */
    TURNRIGHT = "TURNRIGHT",
    /** 前方阻挡 */
    BOLCKFORNT = "BOLCKFORNT",
    /** 左转阻挡 */
    BOLCKTURNLEFT = "BOLCKTURNLEFT",
    /** 右转阻挡 */
    BOLCKTURNRIGHT = "BOLCKTURNRIGHT",
    /** 方向 */
    DIRECTION = "DIRECTION",
    /** 怪物攻击 */
    ATTACK = "ATTACK",
    /** player死亡方式 正常死亡 */
    DEATH = "DEATH",
    /** player死亡方式 空中死亡 */
    AIRDEATH = "AIRDEATH",
    SPIKES_CUR_COUNT = "SPIKES_CUR_COUNT",
    SPIKES_TOTAL_COUNT = "SPIKES_TOTAL_COUNT",
}

/** 方向枚举 */
export enum DIRECTION_ENUM {
    /** 上 */
    TOP = "TOP",
    /** 下 */
    BOTTOM = "BOTTOM",
    /** 左 */
    LEFT = "LEFT",
    /** 右 */
    RIGHT = "RIGHT",
}

/** 实体状态枚举 */
export enum ENTITY_STATE_ENUM {
    /** 空闲 */
    IDLE = "IDLE",
    /** 向左转 */
    TURNLEFT = "TURNLEFT",
    /** 向右转 */
    TURNRIGHT = "TURNRIGHT",
    /** 前方阻挡 */
    BOLCKFORNT = "BOLCKFORNT",
    /** 左转阻挡 */
    BOLCKTURNLEFT = "BOLCKTURNLEFT",
    /** 右转阻挡 */
    BOLCKTURNRIGHT = "BOLCKTURNRIGHT",
    /** 攻击 */
    ATTACK = "ATTACK",
    /** player死亡方式 正常死亡 */
    DEATH = "DEATH",
    /** player死亡方式 空中死亡 */
    AIRDEATH = "AIRDEATH",



    BLOCKTURNRIGHT = "BLOCKTURNRIGHT",
    BLOCKTURNLEFT = "BLOCKTURNLEFT",
    BLOCKFRONT = "BLOCKFRONT",
    BLOCKBACK = "BLOCKBACK",
    BLOCKLEFT = "BLOCKLEFT",

    BLOCKRIGHT = "BLOCKRIGHT",
}

/** 方向顺序枚举 */
export enum DIRECTION_ORDER_ENUM {
    /** 上 */
    TOP = 0,
    /** 下 */
    BOTTOM = 1,
    /** 左 */
    LEFT = 2,
    /** 右 */
    RIGHT = 3,
}

/** 实体类型枚举 */
export enum ENTITY_TYPE_ENUM {
    /** 玩家 */
    PLAYER = "PLAYER",
    SKELETON_WOODEN = 'SKELETON_WOODEN',
    SKELETON_IRON = 'SKELETON_IRON',
    DOOR = 'DOOR',
    BURST = "BURST",

    SPIKES_ONE = "SPIKES_ONE",
    SPIKES_TWO = "SPIKES_TWO",
    SPIKES_THREE = "SPIKES_THREE",
    SPIKES_FOUR = "SPIKES_FOUR",
}



export enum SPIKES_TYPE_MAP_TOTAL_COUNT_ENUM {
    SPIKES_ONE = 2,
    SPIKES_TWO = 3,
    SPIKES_THREE = 4,
    SPIKES_FOUR = 5,
}

export enum SPIKE_COUNT_ENUM {
    ZERO = 'ZERO',
    ONE = "ONE",
    TWO = "TWO",
    THREE = "THREE",
    FOUR = "FOUR",
    FIVE = "FIVE",
}

export enum SPIKEC_COUNT_MAP_NUMBER_CNUM {
    ZERO = 0,
    ONE = 1,
    TWO = 2,
    THREE = 3,
    FOUR = 4,
    FIVE = 5,
}